<!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset={?$jieqi_charset?}" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="keywords" content="{?$meta_keywords?}" />
	<meta name="description" content="{?$meta_description?}" />
	<meta name="author" content="{?$meta_author?}" />
	<meta name="copyright" content="{?$meta_copyright?}" />
	<meta name="generator" content="jieqi.com" />
	<title>{?$jieqi_pagetitle?}</title>
	<link rel="stylesheet" href="{?$jieqi_themeurl?}style.css" type="text/css" media="all" />
	<!--[if lt IE 9]><script type="text/javascript" src="{?$jieqi_url?}/scripts/html5.js"></script><![endif]-->
	<!--[if lt IE 9]><script type="text/javascript" src="{?$jieqi_url?}/scripts/css3-mediaqueries.js"></script><![endif]-->
	<script type="text/javascript" src="{?$jieqi_url?}/scripts/common.js"></script>
	<script type="text/javascript" src="{?$jieqi_url?}/scripts/theme.js"></script>
	{?$jieqi_head?}
</head>
<body>
<div class="top cf">
	<div class="main">
		<div class="fl">
			{?if $jieqi_userid == 0?}
			<form name="t_frmlogin" id="t_frmlogin" method="post" action="{?$jieqi_user_url?}/login.php">
				&nbsp;用户名：<input type="text" class="text t_s" size="10" maxlength="30" style="width:70px;" name="username" onKeyPress="javascript: if (event.keyCode==32) return false;">
				&nbsp;密码：<input type="password" class="text t_s" size="10" maxlength="30" style="width:70px;" name="password">
				{?if $jieqi_login_checkcode > 0?}
				验证码：<input type="text" class="text t_s" style="width:35px;" name="checkcode" onfocus="if(this.form.imgccode.style.display == 'none'){this.form.imgccode.src = '{?$jieqi_url?}/checkcode.php?rand={?$jieqi_time?}';this.form.imgccode.style.display = '';}" title="点击显示验证码"><img name="imgccode" src="" style="cursor:pointer;vertical-align:middle;margin-left:3px;display:none;" onclick="this.src='{?$jieqi_url?}/checkcode.php?rand='+Math.random();" title="点击刷新验证码">
				{?/if?}
				<label class="checkbox"><input type="checkbox" name="usecookie" value="1" />记住</label>
				<button type="button" class="button b_s" name="t_btnlogin" id="t_btnlogin" onclick="Ajax.Tip('t_frmlogin', {timeout:3000, onLoading:'登录中...', onComplete:'登录成功，页面跳转中...'});">登录</button>
				<input type="hidden" name="act" value="login">
				<input type="hidden" name="jumpreferer" value="1">
				{?if $jieqi_api_sites['weixin']['publish'] > 0?}<a href="{?$jieqi_url?}/api/weixin/login.php" rel="nofollow" target="_top"><img src="{?$jieqi_url?}/images/api/weixin_ico.gif" title="用微信扫码登录" style="border:0;vertical-align:middle;"></a>{?/if?}
				{?if $jieqi_api_sites['qq']['publish'] > 0?}<a href="{?$jieqi_url?}/api/qq/login.php" rel="nofollow" target="_top"><img src="{?$jieqi_url?}/images/api/qq_ico.gif" title="用QQ账号登录" style="border:0;vertical-align:middle;"></a>{?/if?}
				{?if $jieqi_api_sites['weibo']['publish'] > 0?}<a href="{?$jieqi_url?}/api/weibo/login.php" rel="nofollow" target="_top"><img src="{?$jieqi_url?}/images/api/weibo_ico.gif" title="用新浪微博账号登录" style="border:0;vertical-align:middle;"></a>{?/if?}
			</form>
			{?else?}
			<ul class="topnav">
				<li><strong>{?$jieqi_username?}：</strong></li>
				<li><a href="{?$jieqi_url?}/message.php?box=inbox" class="droplink"><i class="iconfont">&#xee36;</i>消息</a>{?if $jieqi_newmessage > 0?}<sup>{?$jieqi_newmessage?}</sup>{?/if?}</li>
				<li class="dropdown"><a href="{?$jieqi_url?}/userdetail.php" class="droplink"><i class="iconfont">&#xee21;</i>会员<b class="dropico"></b></a>
					<ul class="droplist">
						{?if $jieqi_modules['article']['publish'] > 0?}<li><a href="{?$jieqi_modules['article']['url']?}/bookcase.php">我的书架</a></li>{?/if?}
						{?if $jieqi_modules['obook']['publish'] > 0?}<li><a href="{?$jieqi_modules['obook']['url']?}/buylist.php">我的订阅</a></li>{?/if?}
						{?if $jieqi_modules['pay']['publish'] > 0?}<li><a href="{?$jieqi_modules['pay']['url']?}/buyegold.php">帐户充值</a></li>{?/if?}
						<li><a href="{?$jieqi_url?}/useredit.php">修改资料</a></li>
						<li><a href="{?$jieqi_user_url?}/logout.php">退出登录</a></li>
					</ul>
				</li>
				{?if $jieqi_modules['article']['publish'] > 0?}<li><a href="{?$jieqi_modules['article']['url']?}/bookcase.php" class="droplink"><i class="iconfont">&#xee43;</i>书架</a></li>{?/if?}
				{?if $jieqi_modules['pay']['publish'] > 0?}<li><a href="{?$jieqi_modules['pay']['url']?}/buyegold.php" class="droplink"><i class="iconfont">&#xee3c;</i>充值</a></li>{?/if?}
				<li><a href="{?$jieqi_user_url?}/logout.php" class="droplink"><i class="iconfont">&#xee2a;</i>退出</a></li>
			</ul>
			{?/if?}
		</div>
		<div class="fr">
			{?if $jieqi_userid == 0?}
			<a class="hot" href="{?$jieqi_user_url?}/register.php" onclick="openDialog('{?$jieqi_user_url?}/register.php?ajax_gets=jieqi_contents', false);stopEvent();">注册用户</a> | <a class="hot" href="{?$jieqi_user_url?}/getpass.php" onclick="openDialog('{?$jieqi_user_url?}/getpass.php?ajax_gets=jieqi_contents', false);stopEvent();">忘记密码？</a>
			{?/if?}
		</div>
	</div>
</div>

<div class="header cf">
	<div class="main row cf">
		<div class="col9">
			<div class="logo">
			<a href="{?$jieqi_url?}/"><img src="{?$jieqi_themeurl?}logo.png" border="0" alt="{?$jieqi_sitename?}" /></a>
			</div>
			<div class="mainnav">
				<ul class="dropmenu">
					<li><a href="{?$jieqi_url?}/">首页</a></li>
					<li><a href="{?$jieqi_modules['article']['url']?}/articlefilter.php">书库</a></li>
					<li><a href="{?function jieqi_geturl:article:toplist:1:allvisit?}">排行</a></li>
					<li><a href="{?function jieqi_geturl:article:toplist:1:allvisit::1?}">全本</a></li>
					<li><a href="{?$jieqi_modules['forum']['url']?}/">论坛</a></li>
					<li><a href="{?$jieqi_modules['pay']['url']?}/buyegold.php">充值</a></li>
					<li><a href="{?$jieqi_modules['article']['url']?}/myarticle.php">作家专区</a>
						<ul>
							<li><a href="{?$jieqi_modules['article']['url']?}/newarticle.php">发表小说</a></li>
							<li><a href="{?$jieqi_modules['article']['url']?}/masterpage.php">管理小说</a></li>
							<li><a href="{?$jieqi_modules['obook']['url']?}/masterpage.php">收入管理</a></li>
							<li><a href="{?$jieqi_modules['article']['url']?}/newdraft.php">新建草稿</a></li>
							<li><a href="{?$jieqi_modules['article']['url']?}/draft.php">管理草稿</a></li>
							<li><a href="{?$jieqi_url?}/ptopics.php?oid=self">用户留言</a></li>
							<li><a href="{?$jieqi_modules['article']['url']?}/authorpage.php">我的专栏</a></li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
		<div class="col3 last banner">
			{?if $jieqi_banner == ''?}
			<form style="width:235px;height:32px;padding:0;margin:15px auto 0 auto;position:relative;background:#fff;border:2px solid #ffaa00;border-radius:5px;" name="t_frmsearch" method="post" action="{?$jieqi_modules['article']['url']?}/search.php">
				<select name="searchtype" style="width:55px;height:30px;padding:0;margin:0;line-height:30px;border:0;font-size:14px;position:absolute;left:5px;top:0;">
					<option value="all" selected="selected">综合</option>
					<option value="articlename">书名</option>
					<option value="author">作者</option>
					<option value="keywords">标签</option>
				</select>
				<input name="searchkey" type="text" style="width:128px;height:30px;padding:0;margin:0;line-height:30px;border:0;font-size:14px;position:absolute;left:62px;top:0;">
				<button type="submit" name="t_btnsearch" class="iconfont" style="width:45px;height:32px;padding:0;margin:0;line-height:32px;text-align:center;background:#ffaa00;color:#fff;cursor:pointer;border:0;font-size:14px;position:absolute;right:-2px;top:0;border-radius:0 5px 5px 0;">&#xee28;</button>
			</form>
			{?else?}
			{?$jieqi_banner?}
			{?/if?}
		</div>
	</div>
</div>



<div class="subnav">
	<div class="main">
		<a href="{?function jieqi_geturl:article:articlelist:1:1?}">玄幻·魔法</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:2?}">武侠·修真</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:3?}">都市·言情</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:4?}">历史·军事</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:5?}">穿越·架空</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:6?}">游戏·竞技</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:7?}">科幻·灵异</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:8?}">同人·动漫</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:9?}">社会·文学</a>|
		<a href="{?function jieqi_geturl:article:articlelist:1:10?}">综合·其他</a>
	</div>
</div>

<div class="main">
    {?if $jieqi_sideblocks|empty == false?}<div class="mainbody">{?/if?}
		{?if $jieqi_top_bar != ""?}<div class="row"><div class="col12">{?$jieqi_top_bar?}</div></div>{?/if?}

		{?if $jieqi_sideblocks|empty == false?}
		{?if $jieqi_sideblocks['7']|empty == false?}
		<div class="row">
			<div class="col12">
				{?section name=i loop=$jieqi_sideblocks['7']?}
				{?if $jieqi_sideblocks['7'][i].title != ""?}
				<div class="block">
					<div class="blocktitle">{?$jieqi_sideblocks['7'][i].title?}</div>
					<div class="blockcontent">{?$jieqi_sideblocks['7'][i].content?}</div>
				</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['7'][i].content?}</div>
				{?/if?}
				{?/section?}
			</div>
		</div>
		{?/if?}

		{?if $jieqi_sideblocks['2']|empty == false || $jieqi_sideblocks['3']|empty == false?}
		<div class="row">
			<div class="col6">
				{?section name=i loop=$jieqi_sideblocks['2']?}
				{?if $jieqi_sideblocks['2'][i].title != ""?}
				<div class="block">
					<div class="blocktitle">{?$jieqi_sideblocks['2'][i].title?}</div>
					<div class="blockcontent">{?$jieqi_sideblocks['2'][i].content?}</div>
				</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['2'][i].content?}</div>
				{?/if?}
				{?/section?}
			</div>
			<div class="col6 last">
				{?section name=i loop=$jieqi_sideblocks['3']?}
				{?if $jieqi_sideblocks['3'][i].title != ""?}
				<div class="block">
					<div class="blocktitle">{?$jieqi_sideblocks['3'][i].title?}</div>
					<div class="blockcontent">{?$jieqi_sideblocks['3'][i].content?}</div>
				</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['3'][i].content?}</div>
				{?/if?}
				{?/section?}
			</div>
		</div>
		{?/if?}

		<div class="row">
			{?if $jieqi_sideblocks['9']|empty == false?}
			<div class="col2">
				{?section name=i loop=$jieqi_sideblocks['9']?}
				{?if $jieqi_sideblocks['9'][i].title != ""?}
				<div class="block">
					<div class="blocktitle">{?$jieqi_sideblocks['9'][i].title?}</div>
					<div class="blockcontent">{?$jieqi_sideblocks['9'][i].content?}</div>
				</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['9'][i].content?}</div>
				{?/if?}
				{?/section?}
			</div>
			{?if $jieqi_sideblocks['1']|empty == false?}<div class="col7">{?else?}<div class="col10 last">{?/if?}
			{?elseif $jieqi_sideblocks['0']|empty == false?}
			<div class="col3">
				{?section name=i loop=$jieqi_sideblocks['0']?}
				{?if $jieqi_sideblocks['0'][i].title != ""?}
				<div class="block">
					<div class="blocktitle">{?$jieqi_sideblocks['0'][i].title?}</div>
					<div class="blockcontent">{?$jieqi_sideblocks['0'][i].content?}</div>
				</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['0'][i].content?}</div>
				{?/if?}
				{?/section?}
			</div>
			{?if $jieqi_sideblocks['1']|empty == false?}<div class="col6">{?else?}<div class="col9 last">{?/if?}
			{?else?}
			{?if $jieqi_sideblocks['1']|empty == false?}<div class="col9">{?else?}<div class="col12">{?/if?}
			{?/if?}
				{?if $jieqi_sideblocks['4']|empty == false?}
				{?section name=i loop=$jieqi_sideblocks['4']?}
				{?if $jieqi_sideblocks['4'][i].title != ""?}
				<div class="block">
						<div class="blocktitle">{?$jieqi_sideblocks['4'][i].title?}</div>
						<div class="blockcontent">{?$jieqi_sideblocks['4'][i].content?}</div>
					</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['4'][i].content?}</div>
				{?/if?}
				{?/section?}
				{?/if?}
				{?if $jieqi_sideblocks['5']|empty == false?}
				{?section name=i loop=$jieqi_sideblocks['5']?}
				{?if $jieqi_sideblocks['5'][i].title != ""?}
				<div class="block">
						<div class="blocktitle">{?$jieqi_sideblocks['5'][i].title?}</div>
						<div class="blockcontent">{?$jieqi_sideblocks['5'][i].content?}</div>
					</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['5'][i].content?}</div>
				{?/if?}
				{?/section?}
				{?/if?}

				{?if $jieqi_contents != ""?}<div id="content">{?$jieqi_contents?}</div>{?/if?}

				{?if $jieqi_sideblocks['6']|empty == false?}
				{?section name=i loop=$jieqi_sideblocks['6']?}
				{?if $jieqi_sideblocks['6'][i].title != ""?}
				<div class="block">
						<div class="blocktitle">{?$jieqi_sideblocks['6'][i].title?}</div>
						<div class="blockcontent">{?$jieqi_sideblocks['6'][i].content?}</div>
					</div>
				{?else?}
				<div class="blockc">{?$jieqi_sideblocks['6'][i].content?}</div>
				{?/if?}
				{?/section?}
				{?/if?}
			</div>

			{?if $jieqi_sideblocks['1']|empty == false?}
			<div class="col3 last">
						{?section name=i loop=$jieqi_sideblocks['1']?}
						{?if $jieqi_sideblocks['1'][i].title != ""?}
						<div class="block">
							<div class="blocktitle">{?$jieqi_sideblocks['1'][i].title?}</div>
							<div class="blockcontent">{?$jieqi_sideblocks['1'][i].content?}</div>
						</div>
						{?else?}
						<div class="blockc">{?$jieqi_sideblocks['1'][i].content?}</div>
						{?/if?}
						{?/section?}
					</div>
			{?/if?}
			<div class="cb"></div>
		</div>

		{?if $jieqi_sideblocks['8']|empty == false?}
		<div class="row">
					<div class="col12">
						{?section name=i loop=$jieqi_sideblocks['8']?}
						{?if $jieqi_sideblocks['8'][i].title != ""?}
						<div class="block">
							<div class="blocktitle">{?$jieqi_sideblocks['8'][i].title?}</div>
							<div class="blockcontent">{?$jieqi_sideblocks['8'][i].content?}</div>
						</div>
						{?else?}
						<div class="blockc">{?$jieqi_sideblocks['8'][i].content?}</div>
						{?/if?}
						{?/section?}
					</div>
				</div>
		{?/if?}

		{?else?}
		<div id="content" class="row">{?$jieqi_contents?}</div>
		{?/if?}

		{?if $jieqi_bottom_bar != ""?}<div class="row"><div class="col12">{?$jieqi_bottom_bar?}</div></div>{?/if?}
		<div class="cb"></div>
    {?if $jieqi_sideblocks|empty == false?}</div>{?/if?}
</div>

<div class="footer">
	<div class="main">
		<p><a href="{?$jieqi_url?}/page.php?bid=11">关于本站</a>&emsp;|&emsp;<a href="{?$jieqi_url?}/page.php?bid=12">联系我们</a>&emsp;|&emsp;<a href="{?$jieqi_url?}/page.php?bid=13">用户指南</a>&emsp;|&emsp;<a href="{?$jieqi_url?}/page.php?bid=14">版权声明</a>&emsp;|&emsp;<a href="{?$jieqi_url?}/page.php?bid=15">作家福利</a>{?if $jieqi_mobile_lcocation != ''?}&emsp;|&emsp;<a href="{?$jieqi_mobile_lcocation?}/?device=wap">手机版</a>{?/if?}</p>
		<p>Powered by <strong><a href="http://www.jieqi.com" target="_blank">JIEQI CMS</a></strong> &copy; 2004-{?$jieqi_time|date:'Y'?} <a href="http://www.jieqi.com" target="_blank">杰奇网络（jieqi.com）</a></p>
		<p>{?$jieqi_time|date:'Y-m-d H:i:s'?}, Processed in {?$jieqi_exetime?} second(s).</p>
	</div>
</div>

</body>
</html>